import Foundation
import CalendarShared

extension WidgetWeek {
    var week: Week {
        switch self {
        case .sun, .unknown: .sun
        case .mon: .mon
        case .fri: .fri
        case .sat: .sat
        case .thu: .thu
        case .tue: .tue
        case .wed: .wed
        }
    }
}
